package com.example.uniappspringbootstartweb.DTO;


import jakarta.persistence.Entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserActivityDTO {

    private String img;
    private String nichen;
    private Integer activityType; // 点赞为1，评论为2，发布为3
    private Object activityContent; // 可能是Userlike, Comment, 或 Publish


    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getNichen() {
        return nichen;
    }

    public void setNichen(String nichen) {
        this.nichen = nichen;
    }

    public Integer getActivityType() {
        return activityType;
    }

    public void setActivityType(Integer activityType) {
        this.activityType = activityType;
    }

    public Object getActivityContent() {
        return activityContent;
    }

    public void setActivityContent(Object activityContent) {
        this.activityContent = activityContent;
    }
}